UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The administrator must ensure the perimeter router is configured to drop all inbound and outbound IPv6 packets containing a Hop-by-Hop or Destination Option extension header with an undefined option type.


Overview

Finding ID Version Rule ID IA Controls Severity
V-30657 NET-IPV6-064 SV-40448r1_rule ECSC-1 Medium
Description
The optional and extensible natures of the IPv6 extension headers require higher scrutiny since many implementations do not always drop packets with headers that it can’t recognize and hence could cause a DoS on the target device. In addition, the type, length, value (TLV) formatting provides the ability for headers to be very large. According to the DoD IPv6 IA Guidance for MO3, extension headers with an unknown option type value should not be allowed into or out of any network (S0-C2-opt-3).
STIG Date
Perimeter Router Security Technical Implementation Guide Cisco 2015-04-06

Details

Check Text ( C-39281r1_chk )
Review the perimeter router or multi-layer switch configuration and determine if filters are bound to the applicable interfaces to drop all inbound and outbound IPv6 packets containing an undefined option type value regardless of whether they appear in a Hop-by-Hop or Destination Option header. Undefined values are 0x02, 0x03, 0x06 through 0x89 inclusive, 0x8B through 0xC1 inclusive, 0xC4 through 0xC8 inclusive, and anything greater than 0xC9.

The following example will block any inbound IPv6 packet containing a an extension header with an invalid or undefined option type value:

interface FastEthernet0/1
description DISN CORE facing
ipv6 address 2001:1:0:146::4/64
ipv6 traffic-filter IPV6_INGRESS_ACL in
!

!
ipv6 access-list IPV6-INGRESS_ACL
deny any any dest-option-type 2
deny any any dest-option-type 3
deny any any dest-option-type 6
deny any any dest-option-type 7
deny any any dest-option-type 8

deny any any dest-option-type 137
deny any any dest-option-type 139
deny any any dest-option-type 193
deny any any dest-option-type 196
deny any any dest-option-type 197
deny any any dest-option-type 198
deny any any dest-option-type 199
deny any any dest-option-type 200
deny any any dest-option-type 202

deny any any dest-option-type 255
permit ipv6 …

deny ipv6 any any

or

ipv6 access-list IPV6_INGRESS_ACL
deny any any dest-option
permit ipv6 …

deny ipv6 any any

Note: Option type 0(0x00) and 1(0x01) are reserved for the Pad1 and PadN options respectively. They are used for both Hop-by-Hop or Destination Option header when it is necessary to align subsequent options and to pad out the header to a multiple of 8 octets in length.
Fix Text (F-34387r1_fix)
Configure the perimeter router or multi-layer switch to drop all inbound and outbound IPv6 packets containing an undefined option type value regardless of whether they appear in a Hop-by-Hop or Destination Option header. Undefined values are 0x02, 0x03, 0x06 through 0x89 inclusive, 0x8B through 0xC1 inclusive, 0xC4 through 0xC8 inclusive, and anything greater than 0xC9.